package vitamin.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 负责人：某靓仔
 * Project表对应实体类
 * 修改日期：1.15
 */
@ApiModel
public class Project {
    @ApiModelProperty(value = "项目id，固定16位的唯一随机字符串")
    private String project_id;
    @ApiModelProperty(value = "创建者用户名，最长16位，最短6位的唯一字符串")
    private String creator_username;
    @ApiModelProperty(value = "基本描述，最长50位，不为空，前端需传值")
    private String basic_description;
    @ApiModelProperty(value = "详细描述，最长300位，前端若没传值就赋值：“此项目没有描述”")
    private String detailed_description;
    @ApiModelProperty(value = "技术栈，最长100位，前端若没传值就赋值：“此项目没有技术栈”")
    private String technology_stack;
    @ApiModelProperty(value = "创建时间，格式：yyyy-MM-dd")
    private String create_time;
    @ApiModelProperty(value = "预计完成时间，格式：yyyy-MM-dd")
    private String finish_time;

    public Project() {
    }

    public Project(String project_id, String creator_username, String basic_description,
                   String detailed_description, String technology_stack, String create_time, String finish_time) {
        this.project_id = project_id;
        this.creator_username = creator_username;
        this.basic_description = basic_description;
        this.detailed_description = detailed_description;
        this.technology_stack = technology_stack;
        this.create_time = create_time;
        this.finish_time = finish_time;
    }

    public String getProject_id() {
        return project_id;
    }

    public void setProject_id(String project_id) {
        this.project_id = project_id;
    }

    public String getCreator_username() {
        return creator_username;
    }

    public void setCreator_username(String creator_username) {
        this.creator_username = creator_username;
    }

    public String getBasic_description() {
        return basic_description;
    }

    public void setBasic_description(String basic_description) {
        this.basic_description = basic_description;
    }

    public String getDetailed_description() {
        return detailed_description;
    }

    public void setDetailed_description(String detailed_description) {
        this.detailed_description = detailed_description;
    }

    public String getTechnology_stack() {
        return technology_stack;
    }

    public void setTechnology_stack(String technology_stack) {
        this.technology_stack = technology_stack;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getFinish_time() {
        return finish_time;
    }

    public void setFinish_time(String finish_time) {
        this.finish_time = finish_time;
    }

    @Override
    public String toString() {
        return "project{" +
                "project_id='" + project_id + '\'' +
                ", creator_username='" + creator_username + '\'' +
                ", basic_description='" + basic_description + '\'' +
                ", detailed_description='" + detailed_description + '\'' +
                ", technology_stack='" + technology_stack + '\'' +
                ", create_time='" + create_time + '\'' +
                ", finish_time='" + finish_time + '\'' +
                '}';
    }
}
